from mediacom.bgcms.models import NewsType,News,GuestBookType,GuestBookItem,PhotoCategory,PhotoGallery,SignUp,PhotoMetaInfo
from django.contrib import admin

class MyModelOptions(admin.ModelAdmin):

    class Media:
        js = ('/static/js/tiny_mce/tiny_mce.js',
              '/static/js/textareas.js',)

admin.site.register(NewsType)
admin.site.register(News, MyModelOptions)
admin.site.register(GuestBookType)
admin.site.register(GuestBookItem)
admin.site.register(PhotoCategory)
admin.site.register(PhotoGallery)
admin.site.register(SignUp)
admin.site.register(PhotoMetaInfo)